/**
 * 
 */
package neptune.manager.model.topology;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 * 
 */
public class Cpu {

	/**
	 * Il nome identificativo della cpu
	 */
	private String name;
	/**
	 * Il tipo di cpu
	 */
	private String type;
	/**
	 * la frequenza della cpu espressa in Mhz
	 */
	private int clock;
	
	/**
	 * il numero di cpu presenti
	 */
	private int amount;

	/**
	 * 
	 */
	public Cpu() {
	}

	/**
	 * @param name
	 * @param type
	 * @param clock
	 */
	public Cpu(String name, String type, int clock, int amount) {
		this.name = name;
		this.type = type;
		this.clock = clock;
		this.amount = amount;
	}

	public int getAmount() {
		return amount;
	}

	public int getClock() {
		return clock;
	}

	public String getName() {
		return name;
	}

	public String getType() {
		return type;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public void setClock(int clock) {
		this.clock = clock;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setType(String type) {
		this.type = type;
	}

}
